package com.JinYuan.aop;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author 金园
 * @create 2022/5/5
 * @Description
 * @className MyMethodAdvice
 * @packageName com.JinYuan.aop
 */
public class MyMethodAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] objects, Object o) throws Throwable {
        System.out.println("在方法执行之前执行");
    }
}
